<?php

namespace lemon\models;

use Yii;
use yii\db\ActiveRecord;

/**
 *
 * auto-generate 2022-12-25
 * @property int $app_id 应用程序编号
 * @property string|null $access_token 访问令牌
 * @property int|null $expire_time 有效时间
 */
class AppInfo extends ActiveRecord
{
	public static function tableName(){
		return '{{%app_info}}';
	}
	
	public function rules(){
		return [
			[['app_id'], 'required'],
			[['app_id', 'expire_time'], 'integer'],
			[['access_token'], 'string', 'max' => 256],
			[['app_id'], 'unique'],
		];
	}
	
	public function attributeLabels(){
		return [
			'app_id' => '应用程序编号',
			'access_token' => '访问令牌',
			'expire_time' => '有效时间',
		];
	}
	
	
	
	
}
